Add() static private méthode

static private Add ( ModPlayer player ) : void
player ModPlayer
Résultat void
Exemple #1
0
 public void AddPlayer(string name, ModPlayer player)
 {
     player.Name   = name;
     players[name] = player;
     player.mod    = this;
     PlayerHooks.Add(player);
 }
        protected sealed override void Register()
        {
            ModTypeLookup <ModPlayer> .Register(this);

            PlayerHooks.Add(this);
        }