Exemple #1
0
 public override void Register(XRL.World.GameObject Object)
 {
     Object.RegisterPartEvent(this, "OwnerGetInventoryActions");
     Object.RegisterPartEvent(this, "InvCommandPainting");
     Object.RegisterPartEvent(this, "InvCommandPaintingSelf");
     base.Register(Object);
 }
Exemple #2
0
 public override void Register(XRL.World.GameObject Object)
 {
     Object.RegisterPartEvent(this, "StartFishing");
     Object.RegisterPartEvent(this, "StopFishing");
     Object.RegisterPartEvent(this, "AddedToInventory");
     Object.RegisterPartEvent(this, "UseEnergy");
     base.Register(Object);
 }
Exemple #3
0
 // register for custom event callbacks
 public override void Register(XRL.World.GameObject obj)
 {
     obj.RegisterPartEvent(this, EVENT_NAME);
 }