C# 클래스 OpenStory.Common.IO.Flags

An abstract class for bit-based flag arrays.
파일 보기 프로젝트 열기: shoftee/OpenStory 1 사용 예제들

공개 메소드들

메소드 설명
Read ( IUnsafePacketReader reader ) : void

Reads the flag bits from the specified IUnsafePacketReader.

Write ( IPacketBuilder builder ) : void

Writes the flag bits into the specified IPacketBuilder.

보호된 메소드들

메소드 설명
Flags ( Flags other ) : System

Initializes a new instance of the Flags class.

Flags ( int capacity ) : System

Initializes a new instance of the Flags class.

this ( int index ) : bool

Gets or sets the flag value at an index.

메소드 상세

Flags() 보호된 메소드

Initializes a new instance of the Flags class.
Thrown if is .
protected Flags ( Flags other ) : System
other Flags The instance to copy from.
리턴 System

Flags() 보호된 메소드

Initializes a new instance of the Flags class.
Thrown if is non-positive.
protected Flags ( int capacity ) : System
capacity int The length of the bit array.
리턴 System

Read() 공개 추상적인 메소드

Reads the flag bits from the specified IUnsafePacketReader.
public abstract Read ( IUnsafePacketReader reader ) : void
reader IUnsafePacketReader The reader to use.
리턴 void

Write() 공개 추상적인 메소드

Writes the flag bits into the specified IPacketBuilder.
public abstract Write ( IPacketBuilder builder ) : void
builder IPacketBuilder The builder to write the bits into.
리턴 void

this() 보호된 메소드

Gets or sets the flag value at an index.
protected this ( int index ) : bool
index int The index of the flag.
리턴 bool