C# 클래스 LazerTagHostLibrary.PacketPacker

파일 보기 프로젝트 열기: afaucher/LazerTagHost 1 사용 예제들

공개 메소드들

메소드 설명
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[]