master
parent
4850a265de
commit
c8b483380b
|
|
@ -120,6 +120,7 @@ function M:OnEventSendCards(evt_data)
|
||||||
local jing = evt_data["jing"]
|
local jing = evt_data["jing"]
|
||||||
self._cacheEvent:Enqueue(function()
|
self._cacheEvent:Enqueue(function()
|
||||||
_room.banker_seat = seat
|
_room.banker_seat = seat
|
||||||
|
print("========================fuzhijing")
|
||||||
_room.jing = jing
|
_room.jing = jing
|
||||||
for i = 1, #_room.player_list do
|
for i = 1, #_room.player_list do
|
||||||
_room.player_list[i].hand_left_count = 13
|
_room.player_list[i].hand_left_count = 13
|
||||||
|
|
@ -274,6 +275,7 @@ function M:OnEventFzAction(evt_data)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:OnEventHu(evt_data)
|
function M:OnEventHu(evt_data)
|
||||||
|
print("===========================OnEventHu")
|
||||||
local cards = evt_data["card"]
|
local cards = evt_data["card"]
|
||||||
local win_p = self._room:GetPlayerBySeat(evt_data["seat"])
|
local win_p = self._room:GetPlayerBySeat(evt_data["seat"])
|
||||||
local lose_p = self._room:GetPlayerBySeat(evt_data["from_seat"])
|
local lose_p = self._room:GetPlayerBySeat(evt_data["from_seat"])
|
||||||
|
|
|
||||||
|
|
@ -233,6 +233,7 @@ function M:EventInit()
|
||||||
_gamectr:AddEventListener(TX_GameEvent.FangziAction, handler(self, self.OnFangziAction))
|
_gamectr:AddEventListener(TX_GameEvent.FangziAction, handler(self, self.OnFangziAction))
|
||||||
|
|
||||||
_gamectr:AddEventListener(TX_GameEvent.ZPHuCard, function(...)
|
_gamectr:AddEventListener(TX_GameEvent.ZPHuCard, function(...)
|
||||||
|
print("==============================================ZPHuCard")
|
||||||
self._left_time = 0
|
self._left_time = 0
|
||||||
self:UpdateCardBox(0)
|
self:UpdateCardBox(0)
|
||||||
self:__CloseTip()
|
self:__CloseTip()
|
||||||
|
|
@ -312,6 +313,7 @@ function M:EventInit()
|
||||||
local tem = win_list[i]
|
local tem = win_list[i]
|
||||||
if tem.type > 0 and tem.type < 32 then
|
if tem.type > 0 and tem.type < 32 then
|
||||||
local com_name = "he" .. tem.type
|
local com_name = "he" .. tem.type
|
||||||
|
print("===================================com_name", com_name)
|
||||||
local item = he_list:GetChild("list"):AddItemFromPool("ui://Extend_MJ_LiChuan/" .. com_name)
|
local item = he_list:GetChild("list"):AddItemFromPool("ui://Extend_MJ_LiChuan/" .. com_name)
|
||||||
coroutine.wait(0.3)
|
coroutine.wait(0.3)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 261 KiB |
|
|
@ -0,0 +1,92 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: fe92826453867a142b205f15f933263f
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: -1
|
||||||
|
aniso: -1
|
||||||
|
mipBias: -100
|
||||||
|
wrapU: -1
|
||||||
|
wrapV: -1
|
||||||
|
wrapW: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 0
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 0
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 0
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
Loading…
Reference in New Issue