C# Класс LazerTagHostLibrary.PacketPacker

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PacketPacker ( ) : System
packGameDefinition ( HostGun game_type, UInt16 game_id, int game_time_minutes, int tags, int reloads, int sheild, int mega, bool extended_tagging, bool unlimited_ammo, bool unlimited_mega, bool friendly_fire, bool medic_mode, bool rapid_tags, bool hunters_hunted, bool hunters_hunted_direction, bool zones, bool bases_are_teams, bool tagged_players_are_disabled, bool base_areas_revive_players, bool base_areas_are_hospitals, bool base_areas_fire_at_players, int number_of_teams_in_game, char game_type_name ) : System.UInt16[]
packHostedTag ( int team, int player, int dmg ) : System.UInt16[]
packPlayerBeacon ( int team, bool hit_flag, int hit_count ) : System.UInt16[]
packTextMessage ( String message ) : System.UInt16[]
packUnhostedTag ( int dmg ) : System.UInt16[]
packZoneBeacon ( ) : System.UInt16[]

Приватные методы

Метод Описание
DecimalHexToDecimal ( int d ) : int
DecimalToDecimalHex ( byte d ) : byte

Описание методов

PacketPacker() публичный Метод

public PacketPacker ( ) : System
Результат System

packGameDefinition() публичный статический Метод

public static packGameDefinition ( HostGun game_type, UInt16 game_id, int game_time_minutes, int tags, int reloads, int sheild, int mega, bool extended_tagging, bool unlimited_ammo, bool unlimited_mega, bool friendly_fire, bool medic_mode, bool rapid_tags, bool hunters_hunted, bool hunters_hunted_direction, bool zones, bool bases_are_teams, bool tagged_players_are_disabled, bool base_areas_revive_players, bool base_areas_are_hospitals, bool base_areas_fire_at_players, int number_of_teams_in_game, char game_type_name ) : System.UInt16[]
game_type HostGun
game_id System.UInt16
game_time_minutes int
tags int
reloads int
sheild int
mega int
extended_tagging bool
unlimited_ammo bool
unlimited_mega bool
friendly_fire bool
medic_mode bool
rapid_tags bool
hunters_hunted bool
hunters_hunted_direction bool
zones bool
bases_are_teams bool
tagged_players_are_disabled bool
base_areas_revive_players bool
base_areas_are_hospitals bool
base_areas_fire_at_players bool
number_of_teams_in_game int
game_type_name char
Результат System.UInt16[]

packHostedTag() публичный статический Метод

public static packHostedTag ( int team, int player, int dmg ) : System.UInt16[]
team int
player int
dmg int
Результат System.UInt16[]

packPlayerBeacon() публичный статический Метод

public static packPlayerBeacon ( int team, bool hit_flag, int hit_count ) : System.UInt16[]
team int
hit_flag bool
hit_count int
Результат System.UInt16[]

packTextMessage() публичный статический Метод

public static packTextMessage ( String message ) : System.UInt16[]
message String
Результат System.UInt16[]

packUnhostedTag() публичный статический Метод

public static packUnhostedTag ( int dmg ) : System.UInt16[]
dmg int
Результат System.UInt16[]

packZoneBeacon() публичный статический Метод

public static packZoneBeacon ( ) : System.UInt16[]
Результат System.UInt16[]