Play-SDK-CSharp
Public Types | Public Member Functions | Static Public Attributes | Properties | List of all members
LeanCloud.Play.Protocol.Body Class Reference
Inheritance diagram for LeanCloud.Play.Protocol.Body:

Public Types

enum class  BodyOneofCase {
  None = 0 , Request = 1 , Response = 2 , Direct = 3 ,
  RoomNotification = 4 , Events = 5 , Statistic = 50 , RoomList = 51 ,
  Error = 127
}
 Enum of possible cases for the "body" oneof. More...
 

Public Member Functions

 Body ()
 
 Body (Body other)
 
Body Clone ()
 
void ClearBody ()
 
override bool Equals (object other)
 
bool Equals (Body other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (Body other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int RequestFieldNumber = 1
 Field number for the "request" field. More...
 
const int ResponseFieldNumber = 2
 Field number for the "response" field. More...
 
const int DirectFieldNumber = 3
 Field number for the "direct" field. More...
 
const int RoomNotificationFieldNumber = 4
 Field number for the "room_notification" field. More...
 
const int EventsFieldNumber = 5
 Field number for the "events" field. More...
 
const int StatisticFieldNumber = 50
 Field number for the "statistic" field. More...
 
const int RoomListFieldNumber = 51
 Field number for the "room_list" field. More...
 
const int ErrorFieldNumber = 127
 Field number for the "error" field. More...
 

Properties

static pb::MessageParser< BodyParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
global::LeanCloud.Play.Protocol.RequestMessage?? Request [get, set]
 
global::LeanCloud.Play.Protocol.ResponseMessage?? Response [get, set]
 
global::LeanCloud.Play.Protocol.DirectCommand?? Direct [get, set]
 
global::LeanCloud.Play.Protocol.RoomNotification?? RoomNotification [get, set]
 
global::LeanCloud.Play.Protocol.EventsCommand?? Events [get, set]
 
global::LeanCloud.Play.Protocol.StatisticCommand?? Statistic [get, set]
 
global::LeanCloud.Play.Protocol.RoomListCommand?? RoomList [get, set]
 
global::LeanCloud.Play.Protocol.ErrorCommand?? Error [get, set]
 
BodyOneofCase BodyCase [get]
 

Member Enumeration Documentation

◆ BodyOneofCase

Enum of possible cases for the "body" oneof.

Enumerator
None 
Request 
Response 
Direct 
RoomNotification 
Events 
Statistic 
RoomList 
Error 

Constructor & Destructor Documentation

◆ Body() [1/2]

LeanCloud.Play.Protocol.Body.Body ( )
inline

◆ Body() [2/2]

LeanCloud.Play.Protocol.Body.Body ( Body  other)
inline

Member Function Documentation

◆ CalculateSize()

int LeanCloud.Play.Protocol.Body.CalculateSize ( )
inline

◆ ClearBody()

void LeanCloud.Play.Protocol.Body.ClearBody ( )
inline

◆ Clone()

Body LeanCloud.Play.Protocol.Body.Clone ( )
inline

◆ Equals() [1/2]

bool LeanCloud.Play.Protocol.Body.Equals ( Body  other)
inline

◆ Equals() [2/2]

override bool LeanCloud.Play.Protocol.Body.Equals ( object  other)
inline

◆ GetHashCode()

override int LeanCloud.Play.Protocol.Body.GetHashCode ( )
inline

◆ MergeFrom() [1/2]

void LeanCloud.Play.Protocol.Body.MergeFrom ( Body  other)
inline

◆ MergeFrom() [2/2]

void LeanCloud.Play.Protocol.Body.MergeFrom ( pb::CodedInputStream  input)
inline

◆ ToString()

override string LeanCloud.Play.Protocol.Body.ToString ( )
inline

◆ WriteTo()

void LeanCloud.Play.Protocol.Body.WriteTo ( pb::CodedOutputStream  output)
inline

Member Data Documentation

◆ DirectFieldNumber

const int LeanCloud.Play.Protocol.Body.DirectFieldNumber = 3
static

Field number for the "direct" field.

◆ ErrorFieldNumber

const int LeanCloud.Play.Protocol.Body.ErrorFieldNumber = 127
static

Field number for the "error" field.

◆ EventsFieldNumber

const int LeanCloud.Play.Protocol.Body.EventsFieldNumber = 5
static

Field number for the "events" field.

◆ RequestFieldNumber

const int LeanCloud.Play.Protocol.Body.RequestFieldNumber = 1
static

Field number for the "request" field.

◆ ResponseFieldNumber

const int LeanCloud.Play.Protocol.Body.ResponseFieldNumber = 2
static

Field number for the "response" field.

◆ RoomListFieldNumber

const int LeanCloud.Play.Protocol.Body.RoomListFieldNumber = 51
static

Field number for the "room_list" field.

◆ RoomNotificationFieldNumber

const int LeanCloud.Play.Protocol.Body.RoomNotificationFieldNumber = 4
static

Field number for the "room_notification" field.

◆ StatisticFieldNumber

const int LeanCloud.Play.Protocol.Body.StatisticFieldNumber = 50
static

Field number for the "statistic" field.

Property Documentation

◆ BodyCase

BodyOneofCase LeanCloud.Play.Protocol.Body.BodyCase
get

◆ Descriptor

pbr.MessageDescriptor LeanCloud.Play.Protocol.Body.Descriptor
staticget

◆ Direct

global.LeanCloud.Play.Protocol.DirectCommand?? LeanCloud.Play.Protocol.Body.Direct
getset

◆ Error

global.LeanCloud.Play.Protocol.ErrorCommand?? LeanCloud.Play.Protocol.Body.Error
getset

◆ Events

global.LeanCloud.Play.Protocol.EventsCommand?? LeanCloud.Play.Protocol.Body.Events
getset

◆ Parser

pb.MessageParser<Body> LeanCloud.Play.Protocol.Body.Parser
staticget

◆ Request

global.LeanCloud.Play.Protocol.RequestMessage?? LeanCloud.Play.Protocol.Body.Request
getset

◆ Response

global.LeanCloud.Play.Protocol.ResponseMessage?? LeanCloud.Play.Protocol.Body.Response
getset

◆ RoomList

global.LeanCloud.Play.Protocol.RoomListCommand?? LeanCloud.Play.Protocol.Body.RoomList
getset

◆ RoomNotification

global.LeanCloud.Play.Protocol.RoomNotification?? LeanCloud.Play.Protocol.Body.RoomNotification
getset

◆ Statistic

global.LeanCloud.Play.Protocol.StatisticCommand?? LeanCloud.Play.Protocol.Body.Statistic
getset

The documentation for this class was generated from the following file: