private void ConverntToFsmOutCommand(StateInterCommands commands) { foreach (KeyValuePair <short, float> pair in commands.Commands) { _fsmOutputs.AddOutput(new FsmOutput { Type = (FsmOutputType)pair.Key, FloatValue = pair.Value }); } }
public static StateInterCommands Deserialize(StateInterCommands typeTag, BinaryReader reader) { if (typeTag != null) { typeTag.Reset(); } else { typeTag = new StateInterCommands(); } typeTag.Read(reader); return(typeTag); }
private void InitFileds() { if (StateInterCommands == null) { StateInterCommands = new StateInterCommands(); } if (AnimationCallbackCommands == null) { AnimationCallbackCommands = new StateInterCommands(); } if (FirstPersonAnimationEventCallBack == null) { FirstPersonAnimationEventCallBack = new UnityAnimationEventCommands(); } if (ThirdPersonAnimationEventCallBack == null) { ThirdPersonAnimationEventCallBack = new UnityAnimationEventCommands(); } }
public static void Serialize(StateInterCommands data, Core.Utils.MyBinaryWriter writer, StateInterCommands last = default(StateInterCommands), bool weiteAll = false) { data.Write(writer); }
public static bool Equals(StateInterCommands a, StateInterCommands b) { return(false); }
public static StateInterCommands Deserialize(StateInterCommands typeTag, BinaryReader reader) { return(_stateInterCommandsSerializer.Read(reader)); }
public static StateInterCommands Clone(StateInterCommands data) { return(data != null?data.Clone() : null); }
public static StateInterCommands Merge(StateInterCommands basevalue, StateInterCommands patchvalue) { basevalue.Reset(); basevalue.CopyFrom(patchvalue); return(basevalue); }