Object that represents a player
Inheritance: RemoteObject
Example #1
0
 void API_OnChat(Player Player, string Message)
 {
     API.WriteLine(Player.Name + ": " + Message);
 }
Example #2
0
File: Player.cs Project: jariz/jZm
 public Weapons_(Player owner)
 {
     Player = owner;
 }
Example #3
0
File: Player.cs Project: jariz/jZm
 public World_(Player owner)
 {
     Player = owner;
 }
Example #4
0
File: Player.cs Project: jariz/jZm
 public Stats_(Player a)
 {
     Mem = new RemoteMemory(a.Mem.Process);
     Player = a;
 }
Example #5
0
File: API.cs Project: jariz/jZm
 //I'm so terribly sorry to do be doing this way, but there's no other way to invoke a event outside of it's class
 internal void TriggerOnChat(Player player, string message)
 {
     if(OnChat != null) OnChat(player, message);
     //PluginEvent(OnChat, player, message);
 }