示例#1
0
 public static void LocalPlayerMove(Events.INVOKER Invoker, Vector3 Position)
 {
     Events.Run(new EventObject(Invoker, Events.TYPE.LOCAL_PLAYER_MOVE, new object[] { Position }));
 }
示例#2
0
 public static void Place(Events.INVOKER Invoker, int OwnerId, Items.TYPE BranchType, Vector3 Position, Vector3 Rotation)
 {
     Events.Run(new EventObject(Invoker, Events.TYPE.PLACE, new object[] { OwnerId, BranchType, Position, Rotation }));
 }
示例#3
0
 public static void RemotePlayerRotate(Events.INVOKER Invoker, int Id, float Rotation)
 {
     Events.Run(new EventObject(Invoker, Events.TYPE.REMOTE_PLAYER_ROT, new object[] { Id, Rotation }));
 }
示例#4
0
 public static void RemotePlayerMove(Events.INVOKER Invoker, int Id, Vector3 Position)
 {
     Events.Run(new EventObject(Invoker, Events.TYPE.REMOTE_PLAYER_MOVE, new object[] { Id, Position }));
 }
示例#5
0
 public static void LocalPlayerRotate(Events.INVOKER Invoker, float Rotation)
 {
     Events.Run(new EventObject(Invoker, Events.TYPE.LOCAL_PLAYER_ROT, new object[] { Rotation }));
 }
示例#6
0
 public EventObject(Events.INVOKER InvokerArg, Events.TYPE TypeArg, object[] ArgsArg)
 {
     this.Invoker = InvokerArg;
     this.Type    = TypeArg;
     this.Args    = ArgsArg;
 }