private void OnS2C_ResponseProofTime(ProtoBuf.IExtensible msg) { UnityEngine.Debug.Log("SystemProtoBufController------>OnS2C_ResponseProofTime"); clientmsg.S2CProofTime prooftime = msg as clientmsg.S2CProofTime; Hashtable hashtable = new Hashtable(); hashtable["protomsg"] = prooftime; AWEvent evt = new AWEvent(AWEvent.RESPONSE_PROOFTIME, hashtable); this.sfs.DispatchEvent(evt); }
void OnS2C_ResponseProofTime(BaseEvent evt) { clientmsg.S2CProofTime prooftime = (clientmsg.S2CProofTime)evt.Params["protomsg"]; NGUIDebug.Log("prooftime id " + prooftime.charid + " prooftime timestamp " + prooftime.time_stamp); }