public void Remove(int builderNO)
    {
        this.m_Data.BuilderBuildingNO = builderNO;
        this.m_Data.RemainingWorkload = this.m_Data.ConfigData.RemoveWorkload;

        this.AddRemoveComponent();
        RemoveObjectRequestParameter request = new RemoveObjectRequestParameter();

        request.RemovableObjectNo = this.m_Data.RemovableObjectNo;
        request.BuilderBuildingNO = builderNO;
        request.OperateTick       = LogicTimer.Instance.GetServerTick();
        CommunicationUtility.Instance.RemoveObject(request);
    }
Exemplo n.º 2
0
 public void RemoveObject(RemoveObjectRequestParameter parameter)
 {
     this.CommunicateWithServer(parameter.GetHashtableFromParameter(), ClientCommandConsts.REMOVE_OBJECT_COMMAND);
 }