Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OBJECT ValidateFunction ( ObjectType, Data )
- {
- try{
- Object = Data.DeserializeFromBytes<ObjectType>();
- return Object;
- }catch(){
- Corrputed Data
- return null??;
- }
- }
- PACKET_GUID gData = new PACKET_GUID();
- gData = ValidateFunction( PACKET_GUID, Data );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement