Closed Park-junseo closed 6 months ago
스키마 프로토콜 읽기 재정의
AssetCreateScheam: .CastEmpty() .CastAnyFromProperty(objData, nameof(ObjectData.ast_id)) .CastAnyFromProperty(objData, nameof(ObjectData.obj_id)) .CastVector(objData.transform.position) .CastVector(objData.transform.rotation) .CastVector(objData.transform.scale) .CastAnyFromProperty(objData, nameof(ObjectData.type)) .CastAnyFromProperty(objData, nameof(ObjectData.isMeshCollider)) .CastAnyFromProperty(objData, nameof(ObjectData.isMeshCollider));
.CastEmpty() .CastAnyFromProperty(objData, nameof(ObjectData.ast_id)) .CastAnyFromProperty(objData, nameof(ObjectData.obj_id)) .CastVector(objData.transform.position) .CastVector(objData.transform.rotation) .CastVector(objData.transform.scale) .CastAnyFromProperty(objData, nameof(ObjectData.type)) .CastAnyFromProperty(objData, nameof(ObjectData.isMeshCollider)) .CastAnyFromProperty(objData, nameof(ObjectData.isMeshCollider));
MapChangeSchema: .CastEmpty().CastInt32(ref map_id);
.CastEmpty().CastInt32(ref map_id);
PlayerJoinSchema: .CastString(ref joinPlayerId) .CastString(ref joinPlayerNickname);
.CastString(ref joinPlayerId) .CastString(ref joinPlayerNickname);
PlayerLeaveSchema: .CastString(ref leavePlayerId);
.CastString(ref leavePlayerId);
PlayerMoveSchema: .CastString(ref movePlayerId) .CastVector(ref movePosition) .CastVector(ref moveRotation);
.CastString(ref movePlayerId) .CastVector(ref movePosition) .CastVector(ref moveRotation);
스키마 프로토콜 읽기 재정의
AssetCreateScheam:
.CastEmpty() .CastAnyFromProperty(objData, nameof(ObjectData.ast_id)) .CastAnyFromProperty(objData, nameof(ObjectData.obj_id)) .CastVector(objData.transform.position) .CastVector(objData.transform.rotation) .CastVector(objData.transform.scale) .CastAnyFromProperty(objData, nameof(ObjectData.type)) .CastAnyFromProperty(objData, nameof(ObjectData.isMeshCollider)) .CastAnyFromProperty(objData, nameof(ObjectData.isMeshCollider));
MapChangeSchema:
.CastEmpty().CastInt32(ref map_id);
PlayerJoinSchema:
.CastString(ref joinPlayerId) .CastString(ref joinPlayerNickname);
PlayerLeaveSchema:
.CastString(ref leavePlayerId);
PlayerMoveSchema:
.CastString(ref movePlayerId) .CastVector(ref movePosition) .CastVector(ref moveRotation);