private void PartyDiceShake( byte[] _packet) { #if _PARTY_LOG_ Debug.Log("PartyDiceShake"); #endif AS_SC_PARTY_DICE_SHAKE DiceShake = new AS_SC_PARTY_DICE_SHAKE(); DiceShake.PacketBytesToClass(_packet); AsPartyManager.Instance.PartyDiceShake(DiceShake); }
public void PartyDiceShake( AS_SC_PARTY_DICE_SHAKE data) { AS_PARTY_USER member = GetPartyMember( data.nCharUniqKey); string strMsg = "PartyDiceShake()Party member not found!!!"; if( null == member) member = TempPartyMember( data.nCharUniqKey); if( data.nDiceNumber == -1)//-1:포기 { //님이 포기했습니다.// strMsg = string.Format( AsTableManager.Instance.GetTbl_String(61), member.strCharName, data.nDiceNumber.ToString()); } else { //"님이 주사위를 굴려 %d가 나왔습니다."; strMsg = string.Format( AsTableManager.Instance.GetTbl_String(59), member.strCharName, data.nDiceNumber.ToString()); } AsChatManager.Instance.InsertChat( strMsg,eCHATTYPE.eCHATTYPE_SYSTEM); AsChatManager.Instance.ShowChatBalloon( data.nCharUniqKey , strMsg, eCHATTYPE.eCHATTYPE_SYSTEM); }