private Client_ReceiveMainNotActiveUnit ( RemoteEntityWorld sender, ReceiveDataReader reader ) : void | ||
sender | RemoteEntityWorld | |
reader | ReceiveDataReader | |
Résultat | void |
void Client_ReceiveMainNotActiveUnit( RemoteEntityWorld sender, ReceiveDataReader reader )
{
uint networkUIN = reader.ReadVariableUInt32();
if( !reader.Complete() )
return;
if( mainNotActiveUnit != null )
mainNotActiveUnit.Visible = true;
mainNotActiveUnit = Entities.Instance.GetByNetworkUIN( networkUIN ) as Unit;
}