private PlayerDeathMessage CreateMessage(DeathType type) => new PlayerDeathMessage
 {
     AboutId           = LocalPlayerId,
     EnumValue         = type,
     NecronomiconIndex = Necronomicon.GetRandomIndex(type)
 };
Beispiel #2
0
 public PlayerDeathMessage(DeathType type)
 {
     Value             = type;
     NecronomiconIndex = Necronomicon.GetRandomIndex(type);
 }