public MethodActionForeach(ClassPointer owner, ActionSubMethodGlobal act) : base(owner) { act.ActionHolder = this; if (act.ActionId == 0) { act.ActionId = (UInt32)Guid.NewGuid().GetHashCode(); } act.ActionType = this.RunAtServer ? EnumWebActionType.Server : EnumWebActionType.Client; this.ActionList.Add(new AB_SubMethodAction(act)); }
public MethodActionForeach(ClassPointer owner) : base(owner) { ActionSubMethodGlobal act = new ActionSubMethodGlobal(owner); act.ActionId = (UInt32)Guid.NewGuid().GetHashCode(); act.ActionType = this.RunAtServer ? EnumWebActionType.Server : EnumWebActionType.Client; act.ActionHolder = this; AB_SubMethodAction ab = new AB_SubMethodAction(act); this.ActionList.Add(ab); }
public MethodActionForeachAtClient(ClassPointer owner, ActionSubMethodGlobal act) : base(owner, act) { }