public bool TransProtocol(ref CSDT_GAMING_CSSYNCINFO msg) { msg.stCSSyncDt.stObjectiveSkill.iObjectID = (int)this.ObjectID; msg.stCSSyncDt.stObjectiveSkill.chSlotType = (sbyte)this.SlotType; msg.stCSSyncDt.stObjectiveSkill.iSkillID = this.iSkillID; return(true); }
public bool TransProtocol(ref CSDT_GAMING_CSSYNCINFO msg) { msg.stCSSyncDt.stDirectionSkill.stDirection = CommonTools.CSDTFromVector3(this.Direction); msg.stCSSyncDt.stDirectionSkill.chSlotType = (sbyte)this.SlotType; msg.stCSSyncDt.stDirectionSkill.iSkillID = this.iSkillID; return(true); }
public bool TransProtocol(CSDT_GAMING_CSSYNCINFO msg) { msg.stCSSyncDt.stDirectionSkill.nDegree = this.Degree; msg.stCSSyncDt.stDirectionSkill.chSlotType = (sbyte)this.SlotType; msg.stCSSyncDt.stDirectionSkill.dwObjectID = this.dwObjectID; return(true); }
public static IFrameCommand Creator(ref CSDT_GAMING_CSSYNCINFO msg) { FrameCommand <MoveDirectionCommand> frameCommand = FrameCommandFactory.CreateCSSyncFrameCommand <MoveDirectionCommand>(); frameCommand.cmdData.Degree = msg.stCSSyncDt.get_stMove().nDegree; frameCommand.cmdData.nSeq = msg.stCSSyncDt.get_stMove().bSeq; return(frameCommand); }
public static IFrameCommand Creator(ref CSDT_GAMING_CSSYNCINFO msg) { FrameCommand <UsePositionSkillCommand> frameCommand = FrameCommandFactory.CreateCSSyncFrameCommand <UsePositionSkillCommand>(); frameCommand.cmdData.SlotType = (SkillSlotType)msg.stCSSyncDt.stPositionSkill.chSlotType; frameCommand.cmdData.Position = CommonTools.ToVector2(msg.stCSSyncDt.stPositionSkill.stPosition); return(frameCommand); }
public static IFrameCommand Creator(ref CSDT_GAMING_CSSYNCINFO msg) { FrameCommand <UseObjectiveSkillCommand> frameCommand = FrameCommandFactory.CreateCSSyncFrameCommand <UseObjectiveSkillCommand>(); frameCommand.cmdData.ObjectID = (uint)msg.stCSSyncDt.get_stObjectiveSkill().iObjectID; frameCommand.cmdData.SlotType = (SkillSlotType)msg.stCSSyncDt.get_stObjectiveSkill().chSlotType; return(frameCommand); }
public static IFrameCommand Creator(ref CSDT_GAMING_CSSYNCINFO msg) { FrameCommand <UseCommonAttackCommand> frameCommand = FrameCommandFactory.CreateCSSyncFrameCommand <UseCommonAttackCommand>(); frameCommand.cmdData.Start = (sbyte)msg.stCSSyncDt.stBaseAttack.bStart; frameCommand.cmdData.uiRealObjID = msg.stCSSyncDt.stBaseAttack.dwObjectID; return(frameCommand); }
public static IFrameCommand Creator(ref CSDT_GAMING_CSSYNCINFO msg) { FrameCommand <UseDirectionalSkillCommand> command = FrameCommandFactory.CreateCSSyncFrameCommand <UseDirectionalSkillCommand>(); command.cmdData.Direction = CommonTools.ToVector3(msg.stCSSyncDt.stDirectionSkill.stDirection); command.cmdData.SlotType = (SkillSlotType)msg.stCSSyncDt.stDirectionSkill.chSlotType; command.cmdData.iSkillID = msg.stCSSyncDt.stDirectionSkill.iSkillID; return(command); }
public static IFrameCommand Creator(ref CSDT_GAMING_CSSYNCINFO msg) { FrameCommand <UseDirectionalSkillCommand> frameCommand = FrameCommandFactory.CreateCSSyncFrameCommand <UseDirectionalSkillCommand>(); frameCommand.cmdData.Degree = msg.stCSSyncDt.stDirectionSkill.nDegree; frameCommand.cmdData.SlotType = (SkillSlotType)msg.stCSSyncDt.stDirectionSkill.chSlotType; frameCommand.cmdData.dwObjectID = msg.stCSSyncDt.stDirectionSkill.dwObjectID; return(frameCommand); }
public static IFrameCommand CreateFrameCommandByCSSyncInfo(ref CSDT_GAMING_CSSYNCINFO msg) { if ((msg.bSyncType >= 0) && (msg.bSyncType < s_CommandCreator.Length)) { CreatorCSSyncDelegate delegate2 = s_CSSyncCommandCreator[msg.bSyncType]; object[] objArray1 = new object[] { msg.bSyncType }; DebugHelper.Assert(delegate2 != null, "Creator is null at index {0}", objArray1); return(delegate2(ref msg)); } object[] inParameters = new object[] { msg.bSyncType }; DebugHelper.Assert(false, "not register framec ommand creator {0}", inParameters); return(null); }
public static IFrameCommand CreateFrameCommandByCSSyncInfo(ref CSDT_GAMING_CSSYNCINFO msg) { if (msg.bSyncType >= 0 && (int)msg.bSyncType < FrameCommandFactory.s_CSSyncCommandCreator.Length) { CreatorCSSyncDelegate creatorCSSyncDelegate = FrameCommandFactory.s_CSSyncCommandCreator[(int)msg.bSyncType]; DebugHelper.Assert(creatorCSSyncDelegate != null, "Creator is null at index {0}", new object[] { msg.bSyncType }); return(creatorCSSyncDelegate(ref msg)); } DebugHelper.Assert(false, "not register framec ommand creator {0}", new object[] { msg.bSyncType }); return(null); }
public bool TransProtocol(ref CSDT_GAMING_CSSYNCINFO msg) { return(true); }
public bool TransProtocol(CSDT_GAMING_CSSYNCINFO msg) { msg.stCSSyncDt.get_stMove().nDegree = this.Degree; msg.stCSSyncDt.get_stMove().bSeq = this.nSeq; return(true); }
public bool TransProtocol(CSDT_GAMING_CSSYNCINFO msg) { msg.stCSSyncDt.stPositionSkill.chSlotType = (sbyte)this.SlotType; CommonTools.CSDTFromVector2(this.Position, ref msg.stCSSyncDt.stPositionSkill.stPosition); return(true); }
public bool TransProtocol(CSDT_GAMING_CSSYNCINFO msg) { msg.bSyncType = this.cmdType; return(this.cmdData.TransProtocol(msg)); }
public bool TransProtocol(CSDT_GAMING_CSSYNCINFO msg) { msg.stCSSyncDt.stBaseAttack.bStart = (byte)this.Start; msg.stCSSyncDt.stBaseAttack.dwObjectID = this.uiRealObjID; return(true); }