sendgc #103
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	
	No description provided.
		
		Delete Branch "sendgc"
	
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
you can add friends but you cant actually search for them cus i got fed up from fighting the compiler.
@ -6,3 +6,3 @@[dependencies]libpso = { git = "http://git.sharnoth.com/jake/libpso" }libpso = { git = "http://git.sharnoth.com/jake/libpso", branch = "sendgc" }merge this in libpso
@ -12,3 +13,2 @@#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq, PartialOrd, Ord)]pub struct GuildCardDataId(pub u32);// TODO: use theseTODO: remove TODO
@ -15,0 +14,4 @@// TODO: use these#[derive(Debug)]pub enum GuildcardError {GuildcardAlreadyFriend(u32),should be
UserAccountIdnotu32(or whatever proper not-number type is expected)@ -125,19 +131,28 @@ impl NewGuildCardDataEntity {}// TODO: implement this properlyTODO: determine if this was implemented properly
@ -130,3 +136,2 @@pub id: GuildCardDataId,pub user_id: UserAccountId,pub guildcard: guildcard::GuildCardData,pub guildcard_data: Box<guildcard::GuildCardData>,why is this boxed?
GuildCardDatais >50kb cus it contains the friendlist + blocklist.@ -142,1 +146,4 @@}pub fn add_friend(&mut self, new_friend: &GuildcardAccept) -> Result<(), GuildcardError> {let next_open_spot = self.guildcard_data.friends.iter().position()might be preferable to.enumerate().find()?Pull request closed