Add() статический приватный Метод

static private Add ( ModPlayer player ) : void
player ModPlayer
Результат void
Пример #1
0
 public void AddPlayer(string name, ModPlayer player)
 {
     player.Name   = name;
     players[name] = player;
     player.mod    = this;
     PlayerHooks.Add(player);
 }
Пример #2
0
        protected sealed override void Register()
        {
            ModTypeLookup <ModPlayer> .Register(this);

            PlayerHooks.Add(this);
        }