Photon Server API Documentation v5.0RC1

Properties | List of all members
Photon.SocketServer.Rpc.DataMemberAttribute Class Reference

When applied to the member of a type, specifies that the member is part of a data contract and should by serialized. More...

Inheritance diagram for Photon.SocketServer.Rpc.DataMemberAttribute:

Properties

byte Code [get, set]
 Gets or sets the code. More...
 
bool IsOptional [get, set]
 Gets or sets a value indicating whether IsOptional. More...
 
string Name [get, set]
 Gets or sets the data members name. More...
 

Detailed Description

When applied to the member of a type, specifies that the member is part of a data contract and should by serialized.

Property Documentation

◆ Code

byte Photon.SocketServer.Rpc.DataMemberAttribute.Code
getset

Gets or sets the code.

◆ IsOptional

bool Photon.SocketServer.Rpc.DataMemberAttribute.IsOptional
getset

Gets or sets a value indicating whether IsOptional.

◆ Name

string Photon.SocketServer.Rpc.DataMemberAttribute.Name
getset

Gets or sets the data members name.